<h1>New section</h1>

<% form_for(@section, :url => book_chapter_section_path(@book, @chapter, @section)) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :title %><br />
    <%= f.text_field :title %>
  </p>
  
  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', book_chapter_sections_path(@book, @chapter) %>
